package Picture2Base64

import (
	"encoding/base64"
)

//请求参数
type Args struct {
	B []byte
}

type Method struct {
}

//响应内容
type Result struct {
	Re string
}

func (this *Method) Picture(args Args, result *Result) error {
	str := base64.StdEncoding.EncodeToString(args.B)
	result.Re = str
	return nil
}
